package com.zhangye.test.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhangye.test.mapper.ReportTypeMapper;
import com.zhangye.test.model.ReportType;

@Service
public class ReportTypeService {

	@Autowired
	private ReportTypeMapper reportTypeMapper;
	

	public List<ReportType> selectByWhere(String where){
		List<ReportType> list = reportTypeMapper.selectByWhere(where);
		return list;
	}
	
	public ReportType selectByPrimaryKey(Long id){
		ReportType rt = reportTypeMapper.selectByPrimaryKey(id);
		return rt;
	}
	
}
